package com.zxx.pattern.compositePattern.composite2;

/**
 * @author zxx on 2021/5/20
 */
public class Leaf implements Component {

    @Override
    public void doSomething() {
        System.out.println("执行方法 -- in le'f't：" + this.toString());
    }
}
